package com.lam.system.entity.imp;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.lam.common.components.dict.annotation.Dict;
import com.lam.common.validate.annotation.DictValid;

/**
 * 用户信息导入对象 SysUserImp
 * 
 * @author admin
 * @date 2022-09-20
 */

@ColumnWidth(30)
public class SysUserImp {

    /** 登录账号 */
    @ExcelProperty("登录账号")
    private String username;
    
    /** 真实姓名 */
    @ExcelProperty("真实姓名")
    private String realname;
    
    /** 昵称 */
    @ExcelProperty("昵称")
    private String nickName;
    
    /** 性别 */
    @ExcelProperty("性别")
    @DictValid(message = "无效的性别值")
    @Dict(dictCode = "sex", reverse = true)
    private String sexDictText;
    
    /** 邮箱 */
    @ExcelProperty("邮箱")
    private String email;
    
    /** 电话 */
    @ExcelProperty("电话")
    private String phone;
    
    /** 状态 */
    @ExcelProperty("状态")
    @DictValid(message = "无效的状态值")
    @Dict(dictCode = "user_status", reverse = true)
    private String statusDictText;
    
    /** 工号 */
    @ExcelProperty("工号")
    private String workNo;
    
    /** 职务 */
    @ExcelProperty("职务")
    private String post;
    
    /** 用户类型 */
    @ExcelProperty("用户类型")
    @DictValid(message = "无效的用户类型")
    @Dict(dictCode = "user_type", reverse = true)
    private String userTypeDictText;
    
    /** 是否新用户 */
    @ExcelProperty("是否新用户")
    @DictValid(message = "无效的是否新用户值")
    @Dict(dictCode = "yn10", reverse = true)
    private String isNewDictText;
    
    /** 备注 */
    @ExcelProperty("备注")
    private String remark;
    
    public void setUsername(String username) {
        this.username = username;
    }

    public String getUsername() {
        return username;
    } 
    
    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getRealname() {
        return realname;
    } 
    
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getNickName() {
        return nickName;
    } 
    
    public void setSexDictText(String sexDictText) {
        this.sexDictText = sexDictText;
    }

    public String getSexDictText() {
        return sexDictText;
    } 
    
    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail() {
        return email;
    } 
    
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    } 
    
    public void setStatusDictText(String statusDictText) {
        this.statusDictText = statusDictText;
    }

    public String getStatusDictText() {
        return statusDictText;
    } 
    
    public void setWorkNo(String workNo) {
        this.workNo = workNo;
    }

    public String getWorkNo() {
        return workNo;
    } 
    
    public void setPost(String post) {
        this.post = post;
    }

    public String getPost() {
        return post;
    } 
    
    public void setUserTypeDictText(String userTypeDictText) {
        this.userTypeDictText = userTypeDictText;
    }

    public String getUserTypeDictText() {
        return userTypeDictText;
    } 
    
    public void setIsNewDictText(String isNewDictText) {
        this.isNewDictText = isNewDictText;
    }

    public String getIsNewDictText() {
        return isNewDictText;
    } 
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    } 
    

}
